package com.alorm.utils;

public class Configuration {

	private String dataBaseName;
	private String dataBaseType;
	private String creationMode;
	public static final String DEFALUT_DB_TYPE = "sqlite";
	public static final String DEFALUT_CREATION_MODE = "create";

	public Configuration(String dataBaseName, String dataBaseType,
			String creationMode) {
		this.dataBaseName = dataBaseName;
		this.dataBaseType = dataBaseType;
		this.creationMode = creationMode;
	}

	public Configuration(String dbName) {
		dataBaseType = DEFALUT_DB_TYPE;
		creationMode = DEFALUT_CREATION_MODE;
		dataBaseName = dbName;
	}

	public String getDataBaseName() {
		return dataBaseName;
	}

	public void setDataBaseName(String dataBaseName) {
		this.dataBaseName = dataBaseName;
	}

	public String getDataBaseType() {
		return dataBaseType;
	}

	public void setDataBaseType(String dataBaseType) {
		this.dataBaseType = dataBaseType;
	}

	public String getCreationMode() {
		return creationMode;
	}

	public void setCreationMode(String creationMode) {
		this.creationMode = creationMode;
	}

}
